function orgeneral(cnt, vsum, vcnt, x) {
	if (vsum)
		return true;
	for ( var ii = 0; ii < x.length; ii++)
		for ( var arr = x[ii][0], jj = x[ii][1]; jj <= x[ii][3]; jj++)
			for ( var kk = x[ii][2]; kk <= x[ii][4]; kk++)
				if (arr[jj][kk])
					return true;
	return false;
}